package acmCoder;

/**
 * Created by shuowu on 2017/11/10.
 */
import java.util.*;
import java.io.*;

import static java.lang.Math.ceil;
import static java.lang.Math.floor;

public class Simple {
    private static final int MAX = 1002;
    private int[] speed = new int[MAX];
    public static void main(String[] args){
        Simple object = new Simple();
//        object.getRes();

        Random random = new Random();
        double next = random.nextDouble();
        object.test(next);
    }
    public void getRes(){
        Scanner scanner = new Scanner(new BufferedInputStream(System.in));
        while(scanner.hasNext()){
            int n = scanner.nextInt();
            int m = scanner.nextInt();
            int distance = scanner.nextInt();
            if(n == 0){
                int res = (int) ceil(distance * 3.6 / m);
                System.out.println(res + " " + res);
            }
            int min = Integer.MAX_VALUE;
            int max = Integer.MIN_VALUE;
            for(int i = 0; i < n; i++){
                speed[i] = scanner.nextInt();
                if(speed[i] > max){
                    max = speed[i];
                }
                if(speed[i] < min){
                    min = speed[i];
                }
            }
            System.out.println((int) ceil(distance * 3.6 / (m + max)) + " " + (int) ceil(distance * 3.6 / (m + min)));
        }
    }


    public void test(double x){
        double blueColor = x * 63.0;
        blueColor = 48;
        System.out.println("the blue Color: " + blueColor);

        double y1 = floor(floor(blueColor) / 8.0);
        double x1 = (floor(blueColor) - (y1 * 8.0));
        System.out.println("x1: " + x1 + " y1: " + y1);

        double y2 = floor(ceil(blueColor) / 7.999);
        double x2 = (ceil(blueColor) - (y2 * 8.0));
        System.out.println("x2: " + x2 + " y2: " + y2);
    }
}
